﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using WebTech.Coursework02.Utilities;

namespace WebTech.Coursework02.Models
{
    public class GridSalary
    {

        private DateTime dateAsCurrent;

        public int empNo { get; set; }

        public int salary { get; set; }

        public DateTime startDate { get; set; }

        public DateTime endDate
        {
            get;
            set;
            //get
            //{
            //    return (this.dateAsCurrent != Constants.EndDateAsCurrent) ? this.dateAsCurrent : DateTime.MinValue;
            //}
            //set
            //{
            //    this.dateAsCurrent = value;
            //}

        }
    }
}